import { Injectable } from '@angular/core';
import { HttpClient } from '../../../../../providers/httpClient';
import { Config } from '../../../../../providers/config';

@Injectable()
export class IrpInternalReportListService {
	constructor(
		public httpClient: HttpClient,
		public config: Config
	) { }
	getIRMReport(minnum,maxnum) {
		let postBody: any = {
			module: "KSB",
			method: "IRM_A02_0240",
			format: "json",
			type: "IRM",
			params: {
				reporttypeids: 115,
				minnum: minnum,
				maxnum: maxnum
			}
		};
		return this.httpClient.post(postBody, {
			isShowLoading: true
		});
	}

}